#include<stdio.h>
int main(void) 
{
	int a[5] = {1,2,3,4,5};
	int b[5];
	int i,j;
	for(i=0,j=4;i<5,j>=0; ++i,--j)
	{
		b[i] = a[j];
		printf("%d\n", b[i]);
	}
	return 0;
}